<template>
  <div id="board-content">
    <div class="content-one">
      <el-date-picker
        v-model="valueDate"
        type="daterange"
        align="right"
        unlink-panels
        range-separator="至"
        start-placeholder="开始日期"
        end-placeholder="结束日期">
      </el-date-picker>
      <div class="rf">
        <p class="time rf">系统时间:{{ time }}</p>
      </div>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  import { getDateTime } from '../../../../../assets/js/index'
  export default {
    data () {
      return {
        valueDate: ''
      }
    },
    created () {
      this.time = getDateTime(new Date())
    }
  }
</script>

<style lang="stylus" rel="stylesheet/stylus">
  #board-content
    .content-one
      margin-bottom 20px
      .el-input__inner
        width 212px
        height 32px
        margin-top 20px
        margin-left 20px
        padding 0px
        .el-range__icon
          font-size: 11px
          margin-left: 0px
          padding-left 10px
        .el-range-input
          font-size 12px
          width 53px
          height 17px
          margin-left 5px
          padding-left 5px
        .el-range-separator
          font-size 12px
          width 25px
          height 17px
          padding 0px
          margin-left 10px
      .time
        width 290px
        height 20px
        margin-top 25px
        font-size 14px
</style>
